@extends('web.layouts.app')

@section('styles')
    <link rel="stylesheet" type="text/css" href="{{ asset('resources/web/css/index.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ asset('resources/web/css/ucenter.css')}}">
@endsection

@section('content')
    <div class="uc-wrap swrap mt20">
        <div class="uc-side L">
            <div class="uc-nav">
                <ul>
                    @include('web.user_center.menu')
                </ul>
            </div>
        </div>
    <div class="uc-main uc-mainbg R">
		<div class="plr10">
			<h3 class="uc-main-title">投资人详情</h3>
			<!--表单-->
			<ul class="user-custom-info mt20">
				<li>
					<label>用户名：</label>
					<span>{{ $u->username }}</span>
				</li>
				<li>
					<label>账户状态：</label>
					<span>
						@if($u->isSetPayPassword())
							已认证
						@else
							未认证
						@endif
					</span>
				</li>
				<li>
					<label>真实姓名：</label>
					<span>{{ $u->userInfo->name }}</span>
				</li>
				<li>
					<label>身份证号码：</label>
					<span>
            			{{ empty($u->userInfo->id_card)?'--':$u->userInfo->id_card }}
					</span>
				</li>
				<li>
					<label>手机号码：</label>
					<span>{{ $u->phone_number??'--' }}</span>
				</li>
				<li>
					<label>电子邮箱：</label>
					<span>{{ $u->email??'--' }}</span>
				</li>
				<li class="mt20">
					<label>&nbsp;</label>
					<a class="btn" href="{{ action('UserCenter\AgentController@customerManagement',['menu'=>8]) }}">返回</a>
				</li>
			</ul>
		</div>
		

	</div>
</div>
@endsection

@section('scripts')
    <script src="{{ asset('resources/web/js/index.js') }}"></script>
@endsection